]> dgit.raspbian.org Git - gnome-shell.git/commit
status/bluetooth: Fix wedged state
authorBastien Nocera <hadess@hadess.net>
Tue, 18 Jan 2022 10:14:47 +0000 (11:14 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 8 Feb 2022 23:16:46 +0000 (23:16 +0000)
commit0531fc54e52407eb11dd04d3e1ab39ef343bdcb8
tree302d46be3ff5d21ee7159af7f97aff4159e20f97
parent4a480a78af06140e87100624028e62643664e92d
status/bluetooth: Fix wedged state

Fix a state where toggling the main Bluetooth switch in the header will
always show the "Bluetooth Off" menu header with "Turn Off" as the only
option.

To reproduce, with Bluetooth enabled and working, run
"hciconfig hci0 down" as root, and check the status menu.

See gnome-bluetooth!102 and gnome-control-center!1148

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4857
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2055>
js/ui/status/bluetooth.js